package com.example.guestbook.guice.config;

import com.example.guestbook.repository.GuestBookRepository;
import com.example.guestbook.repository.GuestBookRepositoryImpl;
import com.example.guestbook.service.GuestBookService;
import com.example.guestbook.service.GuestBookServiceImpl;
import com.gaeig.base.GaeigModule;
import com.google.inject.Binder;

public class GuestBookModule extends GaeigModule {

  @Override
  public void configureGuice(Binder binder) {
    binder.bind(GuestBookService.class).to(GuestBookServiceImpl.class);
    binder.bind(GuestBookRepository.class).to(GuestBookRepositoryImpl.class);
  }
}
